import Mock from 'mockjs'

const banner=[
  {
    imageUrl:'https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/%E9%A6%96%E9%A1%B5/u66.jpg'
  },
  {
    imageUrl:'https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/%E9%A6%96%E9%A1%B5/u68.png'
  },
  {
    imageUrl:'https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/%E9%A6%96%E9%A1%B5/u71.png'
  },
  {
    imageUrl:'https://cimg.axureshop.com/28/d0/93/28d0933e0c9f40ce99dc79bdae082541/images/%E9%A6%96%E9%A1%B5/u72.png'
  },
]
export const data = Mock.mock({
    'list|20': [{
      // id: Mock.Random.guid(),
      id: '@guid',
      title: '@ctitle(3,7)',
      'price|9-99': 0,
      'saleNum|100-999': 0,
      image: '@image(150x150,@color)',
    }],
    // 'banner|5':[{
    //   imageUrl:'@image(375x200,@color)',
    // }],
    banner,
    total: 79,
    nextIndex: 20,
    isEnd: false
  })